SimdSet.insert

Inserts the given item into the set.

  1. bool insert(T item)
    struct SimdSet(T, Allocator = Mallocator)
    bool
    insert
    ()
    if (
    T.sizeof == 1 ||
    T.sizeof == 2
    ||
    T.sizeof == 4
    ||
    T.sizeof == 8
    )
  2. bool opOpAssign(T item)
  3. alias insertAnywhere = insert
  4. alias put = insert

Parameters

item T

the item to insert

Return Value

Type: bool

true if the item was inserted or false if it was already present

Meta